package com.ruoyi.game.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 权限对象 ry_game_permission
 *
 * @author qidian
 * @date 2022-05-06
 */
public class GamePermission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long id;

    /** 游戏ID */
    @Excel(name = "游戏ID")
    private Long gameId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 游戏名称 */
    @Excel(name = "游戏名称")
    private String gameName;

    /** 授权账号 */
    @Excel(name = "授权账号")
    private String account;

    /** 授权类型 */
    @Excel(name = "授权类型")
    private String permType;

    /** 游戏大区 */
    @Excel(name = "游戏大区")
    private String gameQu;

    /** 平台账号 */
    @Excel(name = "平台账号")
    private String username;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGameId(Long gameId)
    {
        this.gameId = gameId;
    }

    public Long getGameId()
    {
        return gameId;
    }
    public void setGameName(String gameName)
    {
        this.gameName = gameName;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public String getGameName()
    {
        return gameName;
    }
    public void setAccount(String account)
    {
        this.account = account;
    }

    public String getAccount()
    {
        return account;
    }
    public void setPermType(String permType)
    {
        this.permType = permType;
    }

    public String getPermType()
    {
        return permType;
    }
    public void setGameQu(String gameQu)
    {
        this.gameQu = gameQu;
    }

    public String getGameQu()
    {
        return gameQu;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gameId", getGameId())
            .append("userId", getUserId())
            .append("gameName", getGameName())
            .append("account", getAccount())
            .append("permType", getPermType())
            .append("gameQu", getGameQu())
            .append("username", getUsername())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
